package cn.zjitc.dao;

import cn.zjitc.pojo.Book;
import com.github.pagehelper.Page;

import java.util.List;

public interface AdminBookDao {
    public List<Book> findAll();

    public Book findById(Integer id);

    Page<Book> findByCondition(String queryString);

    void edit(Book book);

    void add(Book book);

    void deleteById(Integer id);
}
